package com.ruoyi.system.service;

import com.ruoyi.system.domain.ClassificationNode;

import java.util.Map;

public interface ISysClassificationService {
    public Map<String,String> getNode(String parentId);

    public boolean haveChild(String parentId);

    public Map<String,String> getNodeInformation(String id);

    public Map<String,String> getAttribute(String id,int pageSize,int curPage);

    public Map<String,String> createTypeNode(ClassificationNode createNewNode);

    public String addNodeAttr(String id,String[] attrIdArray);

    public String deleteNodeAttr(String[] linkIdArray);

    public String deleteTypeNode(String id);

    public Map<String,String> searchByName(ClassificationNode classificationNode);

    public Map<String,String> serchByBusinessCode(String businessCode);

    public Map<String,String> extractAnswerFromResponse(Map responseBody);

    public Map<String,String> extractNodeInformationFromResponse(Map responseBody);

    public Map<String,String> extractAttrFromResponse(Map responseBody);
}
